package com.nengchuan.kbms.dfs.service;

import com.nengchuan.kbms.common.PageServiceImpl;
import com.nengchuan.kbms.dfs.entity.dto.OptionDTO;
import com.nengchuan.kbms.dfs.entity.po.PermissionPriority;
import com.nengchuan.kbms.dfs.dao.PermissionPriorityMapper;
import com.nengchuan.kbms.dfs.service.PermissionPriorityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 权限优先级 服务实现类
 * </p>
 *
 * @author abe
 * @since 2020-04-09
 */
@Service
public class PermissionPriorityServiceImpl extends PageServiceImpl<PermissionPriorityMapper, PermissionPriority> implements PermissionPriorityService {

    @Autowired
    private PermissionPriorityMapper permissionPriorityMapper;

    /**
     * 权限-下拉数据列表
     */
    @Override
    public List<OptionDTO> listSelect() {
        return permissionPriorityMapper.listSelect();
    }

}
